﻿using MeetingAssistant.Component.Tools;
using MeetingAssistant.Domain.Model.Member;
using MeetingAssistant.ViewModel.Member;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;

namespace MeetingAssistant.CoreBLL.Service.Member.Interface
{
    public interface ICompanyService
    {
      
        /// <summary>
        /// 查 公司信息
        /// </summary>
        IQueryable<Company> Companys { get; }

        IList<CompanyVM> GetListCompanyVM(Expression<Func<Company, bool>> wh, int limit, int offset, out int total);

        /// <summary>
        /// 增 公司信息
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        OperationResult Insert(CompanyVM model);

        /// <summary>
        /// 改 公司信息
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        OperationResult Update(CompanyVM model);

        /// <summary>
        /// 删 公司信息
        /// </summary>
        /// <param name="list"></param>
        /// <returns></returns>
        OperationResult Delete(IEnumerable<CompanyVM> list);

        ///// <summary>
        ///// 重置密码 公司
        ///// </summary>
        ///// <param name="list"></param>
        ///// <returns></returns>
        //OperationResult ResetPassword(IEnumerable<CompanyVM> list);

     
    }
}
